home *** CD-ROM | disk | FTP | other *** search
/ Cream of the Crop 12 / Cream of the Crop 12 (Part II) / Cream of the Crop 12 (Part II).iso / OS2 / VD08BIN.ZIP / usr / include / pm / IBOutlet.h < prev    next >
Encoding:
C/C++ Source or Header  |  1996-02-13  |  1.3 KB  |  55 lines

  1. /* -------------------------------------------------------------------
  2.  
  3.     Project: 
  4.  
  5.     Objective-C interface file for the class IBOutlet
  6.  
  7.     COPYRIGHT (C), 1995, Thomas Baier
  8.     ALL RIGHTS RESERVED.
  9.  
  10.     Date:                Rev:
  11.     1995-Aug-28            ___
  12.  
  13.  */
  14.  
  15. #ifndef _IBOUTLET_H_
  16. #define _IBOUTLET_H_
  17.  
  18. /*====================================================================
  19.                      Interface of class IBOutlet                      
  20. ====================================================================*/
  21. #include <objc/Object.h>
  22.  
  23. @interface IBOutlet : Object
  24. {
  25.   id    source;
  26.   id    target;
  27.   char *variable;
  28. }
  29.  
  30. /* -------------------------- Initialize -------------------------- */
  31. -init;
  32.  
  33. /* ----------------------------- Free ----------------------------- */
  34. -free;
  35.  
  36. /* ----------- Methods for access to Instance Variables ----------- */
  37. -source;
  38. -setSource: aSource;
  39. -target;
  40. -setTarget: aTarget;
  41. -(char *) variable;
  42. -setVariable: (char *) aVariable;
  43.  
  44. /* ------------------------ Public methods ------------------------ */
  45.  
  46. /* ----------------------- Private methods ------------------------ */
  47.  
  48. /* ---------------------- Archiving methods ----------------------- */
  49. -read: (TypedStream *) aStream;
  50. -write: (TypedStream *) aStream;
  51.  
  52. @end
  53. #endif
  54.  
  55.